html {
  font-size: 10px;
  -webkit-text-size-adjust: 100%;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
a {
  text-decoration: none;
}
body {
  background-color: #f7f7f7;
  font-family: "Segoe UI", "Lucida Grande", Helvetica, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", Arial, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body .blog {
  min-height: 100vh;
  background-color: #fff;
  margin: 0 auto;
}
body .blog .content {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}
body .site-main {
  padding: 20px;
}
header {
  line-height: 1.8rem;
  height: 420px;
  margin-bottom: 20px;
  background: no-repeat center center;
  background-color: #ccc;
  background-attachment: scroll;
  background-size: cover;
  margin-bottom: 20px;
  padding: 20px;
}
header .navbar-default .navbar-toggle:focus,
header .navbar-default .navbar-toggle:hover {
  background: 0 0 !important;
}
header .navbar-custom {
  background: 0 0;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
  line-height: 1.7;
}
header .navbar-brand {
  color: #fff !important;
  padding: 20px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}
header .navbar-brand:hover {
  opacity: 0.8;
}
header .nav li a {
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}
header .nav li a:hover {
  opacity: 0.8;
}
header .navbar-collapse {
  border-width: 0px !important;
  box-shadow: inset 0 0px 0 rgba(255,255,255,0.1) !important;
}
header .header-container {
  display: flex;
  justify-content: space-between;
}
header .site-branding {
  text-align: center;
  font-family: "Open Sans", arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
header .site-branding .site-title {
  margin: 0;
  font-size: 1.4rem;
}
header .site-branding .site-title a {
  display: inline-block;
  color: #fff;
  font-weight: bolder;
  line-height: 3rem;
  height: 3rem;
  padding: 0 1rem;
  -webkit-transition: padding 0.3s ease-out;
  transition: padding 0.3s ease-out;
}
header .site-branding .site-title a:hover {
  opacity: 0.8;
}
header .site-branding .site-description {
  color: #9e9e9e;
  font-size: 1.3rem;
  margin: 1rem 0 0;
}
header .site-navigation {
  text-align: right;
}
header .site-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.6em;
}
header .site-navigation ul li {
  display: inline-block;
  margin: 0 0.5rem;
}
header .site-navigation ul li a {
  display: block;
  color: #fff;
  font-size: 1.6rem;
  line-height: 2rem;
  padding: 0 1rem;
}
header .site-navigation ul li a:hover {
  opacity: 0.8;
}
header .gotop-btn {
  position: fixed;
  background-position: center;
  bottom: 20px;
  right: 20px;
  background-image: url("/images/top.png");
  background-repeat: no-repeat;
  background-size: 20px;
  width: 34px;
  height: 34px;
  border: 1px solid #000;
  border-radius: 17px;
  margin: 10px;
  z-index: 99;
  display: none;
}
header .gotop-btn:hover {
  cursor: pointer;
}
header .top-active {
  background-image: url("/images/top-active.png");
}
article {
  position: relative;
  padding: 8rem 0;
}
article a {
  color: #f03838;
}
article:not(:first-child):before {
  content: '';
  width: 150px;
  height: 1px;
  background-color: #e0e0e0;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -75px;
}
article blockquote {
  margin: 6rem 2rem;
  padding-left: 15px;
  line-height: 2rem;
}
article .article-read {
  border-radius: 999em;
  font-size: 16px;
  text-align: center;
  padding: 7px 0;
  border: 1px solid #000;
  width: 100px;
  margin: 0 auto;
  margin-top: 10px;
}
article .article-read:hover a {
  text-decoration: none;
}
article .article-title {
  position: relative;
  color: #212121;
  font-size: 2.4rem;
  line-height: 1.3;
  text-align: center;
  margin: 0;
  padding: 0 2rem;
}
article .article-title a {
  display: block;
  color: #212121;
}
article .article-title a span {
  padding-bottom: 3px;
  -webkit-transition: 0.15s;
  transition: 0.15s;
  box-shadow: inset 0 -2px 0 rgba(240,56,56,0);
}
article .article-title a:hover {
  color: #212121;
}
article .article-title a:hover span {
  box-shadow: inset 0 -2px 0 rgba(240,56,56,0.4);
}
article .article-top-meta {
  position: relative;
  color: #9e9e9e;
  font-size: 1.3rem;
  text-align: center;
  margin: 1rem 0;
}
article .article-top-meta span {
  margin: 0 0.5rem;
}
article .article-top-meta a {
  color: #9e9e9e;
}
article .article-top-meta a:hover {
  color: #f03838;
}
article .article-top-meta a time {
  font-style: italic;
}
article .article-excerpt,
article .article-content,
article .featured-media {
  margin: 4rem 0;
  font-size: 1.5rem;
  color: #424242;
}
article .article-excerpt img,
article .article-content img,
article .featured-media img {
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
}
article .article-footer .pull-left {
  float: left;
}
article .article-footer .pull-right {
  float: right;
}
article .article-footer:after {
  content: " ";
  display: block;
  clear: both;
}
article .article-footer .article-meta > span:not(:last-child) {
  margin-right: 3rem;
}
article .article-footer .article-meta > span {
  display: inline-block;
}
article .article-footer .article-meta > span > span {
  line-height: 1;
  vertical-align: middle;
}
article .article-footer .article-meta {
  font-size: 1.3rem;
  color: #9e9e9e;
}
article .article-footer .article-meta a {
  color: #9e9e9e;
}
article .article-footer .article-meta a:hover {
  color: #f03838;
}
article .article-footer .article-meta i {
  vertical-align: middle;
  color: #9e9e9e;
  margin-right: 0.5rem;
}
article .article-footer .post-tags a:before {
  content: "#";
}
article .article-footer .post-tags a:not(:last-of-type):after {
  content: ",";
  padding-right: 5px;
}
article code {
  padding: 2px 4px;
  margin-left: 2px;
  margin-right: 2px;
  color: #c7254e;
  white-space: normal;
  border-radius: 0;
}
article p,
article ul {
  margin: 2rem 0;
  line-height: 1.8;
}
article p li,
article ul li {
  list-style: circle;
  margin-left: 20px;
}
article h1 {
  padding-bottom: 0.3em;
  font-size: 2em;
}
article h2 {
  padding-bottom: 0.3em;
  font-size: 1.5em;
}
article h3 {
  padding-bottom: 0.3em;
  font-size: 1em;
}
article .video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
}
article .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
article table {
  max-width: 100%;
  width: 100%;
}
article table caption {
  padding: 5px;
  color: #333;
  background-color: #e5e5e5;
}
article table th,
article table td {
  text-align: left;
  padding: 0.6em;
  vertical-align: top;
}
article table th {
  vertical-align: bottom;
  border-bottom: 1px solid #e5e5e5;
}
article table tbody + tbody {
  border-top: 2px solid #e5e5e5;
}
article table .table {
  background-color: #fff;
}
article table .table-bordered {
  border: 1px solid #e5e5e5;
}
article table .table-striped tbody tr:nth-of-type(odd) {
  background-color: #f2f2f2;
}
article.archive {
  padding: 0;
  margin: 2em auto;
}
.archive-post {
  text-align: left;
  margin: 2em auto;
}
.archive-post .archive-title {
  font-size: 2.1em;
  line-height: 1;
  position: relative;
  color: #212121;
  margin: 0;
}
.archive-post .archive-title a {
  color: #000;
}
.archive-post .archive-title a span {
  font-size: 20px;
  padding-bottom: 3px;
  -webkit-transition: box-shadow 0.15s;
  transition: box-shadow 0.15s;
  box-shadow: inset 0 -2px 0 rgba(240,56,56,0);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", STHeiti, "Microsoft YaHei", "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC", "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
}
.archive-post .archive-title a:hover {
  color: #212121;
  text-decoration: none;
}
.archive-post .archive-title a:hover span {
  box-shadow: inset 0 -2px 0 rgba(240,56,56,0.4);
}
.archive-post time {
  font-style: italic;
}
.archive-post time a {
  font-size: 1.6rem;
  color: #9e9e9e;
}
.archive-post time a:before {
  content: '#';
}
.archive-post time a:hover {
  color: #f03838;
}
article .tags-cloud {
  width: 100%;
  margin: 8rem 0;
  text-align: center;
  line-height: 2rem;
}
article .tags-total {
  margin-top: 20px;
  text-align: center;
  font-family: Wawati SC;
}
article .tags-cloud > spannot(last-child) {
  margin-right: 3rem;
}
article .tags-cloud > span {
  display: inline-block;
}
article .tags-cloud > span > span {
  line-height: 1;
  vertical-align: middle;
}
article .archive-tags,
article .archive-tags > spannot(last-child) {
  margin-right: 3rem;
}
article .archive-tags > span {
  display: inline-block;
}
article .archive-tags > span > span {
  line-height: 1;
  vertical-align: middle;
}
article .archive-tags,
article .tags-cloud {
  margin: 8rem 0;
  font-size: 1.3rem;
  color: #9e9e9e;
}
article .archive-tags a,
article .tags-cloud a {
  color: #9e9e9e;
}
article .archive-tags a:hover,
article .tags-cloud a:hover {
  color: #f03838;
}
article .archive-tags i,
article .tags-cloud i {
  vertical-align: middle;
  color: #9e9e9e;
  margin-right: 0.5rem;
}
article .archive-tags .post-tags,
article .tags-cloud .post-tags {
  margin-right: 3rem;
}
article .archive-tags .post-tags a:before,
article .tags-cloud .post-tags a:before {
  content: "#";
}
article .archive-tags .post-tags a:not(:last-of-type):after,
article .tags-cloud .post-tags a:not(:last-of-type):after {
  content: ",";
  padding-right: 5px;
}
article .categories-total {
  margin-top: 20px;
  text-align: center;
  font-family: Wawati SC;
}
article .categories-cloud {
  width: 100%;
  margin: 8rem 0;
  text-align: center;
  line-height: 2rem;
}
article .categories-cloud > spannot(last-child) {
  margin-right: 3rem;
}
article .categories-cloud > span {
  display: inline-block;
}
article .categories-cloud > span > span {
  line-height: 1;
  vertical-align: middle;
}
article .archive-categories,
article .archive-categories > spannot(last-child) {
  margin-right: 3rem;
}
article .archive-categories > span {
  display: inline-block;
}
article .archive-categories > span > span {
  line-height: 1;
  vertical-align: middle;
}
article .archive-categories,
article .categories-cloud {
  margin: 8rem 0;
  font-size: 1.3rem;
  color: #9e9e9e;
}
article .archive-categories a,
article .categories-cloud a {
  color: #9e9e9e;
}
article .archive-categories a:hover,
article .categories-cloud a:hover {
  color: #f03838;
}
article .archive-categories i,
article .categories-cloud i {
  vertical-align: middle;
  color: #9e9e9e;
  margin-right: 0.5rem;
}
article .archive-categories .post-categories,
article .categories-cloud .post-categories {
  margin-right: 3rem;
}
article .archive-categories .post-categories a:before,
article .categories-cloud .post-categories a:before {
  content: "#";
}
article .archive-categories .post-categories a:not(:last-of-type):after,
article .categories-cloud .post-categories a:not(:last-of-type):after {
  content: ",";
  padding-right: 5px;
}
.pagination {
  position: relative;
  margin: 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: space-around;
  -ms-flex-pack: space-around;
  -webkit-justify-content: space-around;
  justify-content: space-around;
}
.pagination .pagination-prev,
.pagination .pagination-next {
  color: #f03838;
  font-size: 1.6rem;
  border: 1px solid #e0e0e0;
  line-height: 30px;
  height: 32px;
  padding: 0 20px;
  border-radius: 16px;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.pagination .pagination-prev:hover,
.pagination .pagination-next:hover {
  color: #fff;
  background-color: #f03838;
  border-color: #f03838;
}
footer.site-footer {
  position: relative;
  text-align: center;
  line-height: 1.8;
  padding-top: 1rem;
  color: #9e9e9e;
}
footer.site-footer a {
  color: #23d S22;
}
footer.site-footer .site-info {
  color: #9e9e9e;
  font-size: 1.3rem;
  margin: 0.5rem 0;
}
.icon-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
.icon-comments {
  display: inline-block;
  width: 18px;
  height: 19px;
  background: url("") center top no-repeat;
  background-size: 18px 18px;
}
.icon-tags {
  display: inline-block;
  width: 19px;
  height: 16px;
  background: url("") center center no-repeat;
  background-size: 19px 16px;
}
.icon-categories {
  display: inline-block;
  width: 19px;
  height: 16px;
  background: url("") center center no-repeat;
  icon-categories: 19px 16px;
}
.entry .gist {
  background: #eee;
  border: 1px solid #fff;
  margin: 15px 0px;
  padding: 7px 15px;
  border-radius: 2px;
  text-shadow: 0 0 1px #fff;
  line-height: 1.6;
  overflow: auto;
  color: #666;
}
.entry .gist .gist-file {
  border: none;
  font-family: inherit;
  margin: 0;
  font-size: 0.9em;
}
.entry .gist .gist-file .gist-data {
  background: none;
  border-bottom: none;
}
.entry .gist .gist-file .gist-data pre {
  padding: 0 !important;
  font-family: font-mono;
}
.entry .gist .gist-file .gist-meta {
  background: none;
  color: color-meta;
  margin-top: 5px;
  padding: 0;
  text-shadow: 0 0 1px #fff;
  font-size: 100%;
}
.entry .gist .gist-file .gist-meta a {
  color: color-link;
}
.entry .gist .gist-file .gist-meta a:visited {
  color: color-link;
}
figure.highlight {
  border: 1px solid color-border;
  border-radius: 2px;
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  color: #abb2bf;
  background: #282c34;
}
figure.highlight figcaption {
  color: color-meta;
  margin-bottom: 5px;
  text-shadow: 0 0 1px #fff;
}
figure.highlight figcaption a {
  position: absolute;
  right: 15px;
}
figure.highlight pre {
  border: 0;
  padding: 0;
  margin: 0;
  background-color: #282c34;
  color: #93a1a1;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
figure.highlight table {
  margin-top: 0;
  border-spacing: 0;
}
figure.highlight .gutter {
  color: color-meta;
  width: 20px;
  padding-right: 15px;
  border-right: 1px solid color-border;
  text-align: right;
}
figure.highlight .code {
  color: #666;
}
figure.highlight .line {
  height: 20px;
}
pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .pi,
pre .lisp .string,
pre .javadoc {
  color: #5c6370;
  font-style: italic;
}
pre .keyword,
pre .winutils,
pre .method,
pre .addition,
pre .css .tag,
pre .request,
pre .status,
pre .nginx .title {
  color: #c678dd;
}
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
  color: #98c379;
}
pre .number {
  color: #e6c07b;
}
pre .title,
pre .localvars,
pre .chunk,
pre .decorator,
pre .identifier,
pre .vhdl,
pre .id {
  color: #61aeee;
}
pre .literal {
  color: #56b6c2;
}
pre .built_in {
  color: #e6c07b;
}
pre .attribute,
pre .variable,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .type {
  color: #e6c07b;
}
pre .preprocessor,
pre .preprocessor .keyword,
pre .shebang,
pre .symbol,
pre .symbol .string,
pre .diff .change,
pre .special,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata,
pre .clojure .title {
  color: #cb4b16;
}
pre .deletion {
  color: #dc322f;
}
pre .meta,
pre .symbol,
pre .bullet,
pre .link,
pre .selector-id,
pre .title {
  color: #61aeee;
}
pre .name,
pre .section,
pre .selector-tag,
pre .deletion,
pre .subst {
  color: #e06c75;
}
pre .attr,
pre .variable,
pre .template-variable,
pre .type,
pre .selector-class,
pre .selector-attr,
pre .selector-pseudo,
pre .number {
  color: #d19a66;
}
pre .comment,
pre .quote {
  color: #5c6370;
  font-style: italic;
}
pre .doctag,
pre .keyword,
pre .formula {
  color: #c678dd;
}
pre .section,
pre .name,
pre .selector-tag,
pre .deletion,
pre .subst {
  color: #e06c75;
}
pre .literal {
  color: #56b6c2;
}
pre .string,
pre .regexp,
pre .addition,
pre .attribute,
pre .meta-string {
  color: #98c379;
}
pre .built_in,
pre .class .title {
  color: #e6c07b;
}
pre .symbol,
pre .bullet,
pre .link,
pre .meta,
pre .selector-id,
pre .title {
  color: #61aeee;
}
pre .emphasis {
  font-style: italic;
}
pre .strong {
  font-weight: bold;
}
pre .link {
  text-decoration: underline;
}
pre .params {
  color: #ae81ff;
}
.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  color: #abb2bf;
  background: #282c34;
}
@media (min-width: 768px) {
  article {
    padding: 8rem 0;
  }
  .article-container {
    padding-right: 10%;
  }
}
@media (min-width: 1200px) {
  .article-container {
    padding-right: 10%;
  }
}
@media (max-width: 1200px) {
  header {
    height: 430px;
  }
  #toc {
    top: 570px;
  }
}
@media (max-width: 960px) {
  header {
    height: 410px;
  }
  #toc {
    top: 550px;
  }
  .sidebar-container {
    position: static;
  }
  .search-container {
    position: absolute;
    top: 420px;
  }
  .search-container #local-search-result {
    left: 0px !important;
    right: 20px;
  }
}
@media (max-width: 480px) {
  header {
    height: 250px;
  }
  header .navbar-brand {
    padding: 13px;
  }
  .search-container {
    top: 260px;
  }
}
@media (min-width: 768px) {
  .nav li a {
    color: #fff !important;
    padding: 20px !important;
  }
}
@media only screen and (max-width: 767px) {
  .navbar-collapse {
    width: 170px;
    float: right;
    position: absolute;
    right: 50px;
    box-shadow: rgba(0,0,0,0.118) 0 1px 6px, rgba(0,0,0,0.239) 0 1px 4px;
    border-radius: 2px;
    background: #fff;
    color: #404040;
  }
  .nav li a {
    color: #999 !important;
  }
  .nav li a:hover {
    color: #000 !important;
  }
  #bosenyblog-navbar.in {
    transform: scaleY(1);
    opacity: 1;
    transition: all 250ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  }
  #bosenyblog-navbar {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top right;
    transition: all 200ms cubic-bezier(0.47, 0, 0.4, 0.99) 0ms;
  }
}
.local-search {
  position: relative;
  text-align: left;
  margin-bottom: 10px;
}
.local-search-input-cls {
  width: 200px;
  margin: 10px 0;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  color: #666;
  font-size: 14px;
}
#local-search-input {
  margin: 0;
  padding: 0;
  border: 0;
  background: 0 0;
  font-size: inherit;
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #000;
  outline: 0;
  -webkit-appearance: none;
  margin-left: 10px;
}
#local-search-close {
  content: 'x';
  position: absolute;
  right: 10px;
  top: -15px;
  background: #fff;
  color: #888;
  border-radius: 100%;
  text-align: center;
  font-size: 16px;
  font-family: consolas;
  border: 1px solid #ccc;
  display: block;
  width: 25px;
  height: 25px;
  cursor: pointer;
  font-style: normal;
  font-weight: normal;
  transform: rotateZ(0);
  transition: all 0.3s;
}
#local-search-close:hover {
  border-color: #666;
  color: #222;
  transform: rotateZ(180deg);
  transition: all 0.3s;
}
.site-search-form {
  padding-left: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #999;
}
.local-search-result-cls {
  position: absolute;
  z-index: 99;
  width: 400px;
  top: 50px;
  right: 0;
}
.local-search-result-cls .local-search-empty {
  color: #888;
  line-height: 44px;
  text-align: center;
  display: block;
  font-size: 16px;
  font-weight: normal;
}
.local-search-result-cls ul {
  border-radius: 6px;
  width: 360px;
  max-height: 450px;
  min-height: 0;
  height: auto;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px 20px;
  background: #fff;
  box-shadow: 1px 2px 4px #ccc;
}
.local-search-result-cls ul li {
  text-align: left;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  margin-bottom: 20px;
  line-height: 30px;
  font-weight: normal;
}
.local-search-result-cls ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.local-search-result-cls ul li a {
  margin-top: 20px;
  font-size: 16px;
}
.local-search-result-cls ul li p {
  margin-top: 10px;
  font-size: 14px;
  max-height: 124px;
  overflow: hidden;
}
.local-search-result-cls ul li em.search-keyword {
  color: #e58c7c;
}
.local-search-result-cls .search-result-list::-webkit-scrollbar {
  width: 10px;
}
.local-search-result-cls .search-result-list::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #eee;
}
.local-search-result-cls .search-result-list::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #3db6a4;
  background-image: -webkit-linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent);
}
.local-search-plugin .local-search-input-cls {
  opacity: 0.6;
  width: 160px;
  transition: all 0.3s;
}
.local-search-plugin .local-search-input-cls:hover {
  opacity: 1;
  width: 200px;
  transition: all 0.3s;
}
.local-search-plugin .icon {
  position: relative;
  left: -30px;
  color: #999;
  cursor: pointer;
}
.sidebar-container .categories-container {
  padding: 10px;
}
.sidebar-container .categories-container p {
  padding-bottom: 5px;
  color: #999;
  font-size: 20px;
  font-weight: bold;
}
.sidebar-container .categories-container a {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 999em;
  padding: 0 10px;
  color: #bfbfbf;
  border-color: #bfbfbf;
  line-height: 24px;
  font-size: 12px;
  text-decoration: none;
  margin: 0 1px;
  margin-bottom: 6px;
}
.sidebar-container .categories-container a:hover,
.sidebar-container .categories-container a:active {
  border-color: #0085a1;
  color: #0085a1;
}
.sidebar-container .social-container {
  padding: 10px;
}
.sidebar-container .social-container p {
  padding-bottom: 5px;
  color: #999;
  font-size: 20px;
  font-weight: bold;
}
.sidebar-container .social-container .fa {
  text-align: left;
}
.sidebar-container .social-container .zhihu-icon {
  height: 14px;
  width: 18px;
  background-image: url("/images/zhihu0.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.sidebar-container .social-container .lofter-icon {
  height: 14px;
  width: 18px;
  background-image: url("/images/lofter.png");
  background-repeat: no-repeat;
  background-size: contain;
}
#toc {
  float: right;
  font-size: 0.8em;
  color: color-link;
  margin: 5px;
  position: absolute;
  right: 15%;
  top: 540px;
}
#toc.fixed {
  position: fixed;
  top: 25px;
}
#toc .toc-title {
  font-size: 2em;
}
#toc .toc-item,
#toc .toc-link {
  list-style: none;
}
#toc .toc-item.active,
#toc .toc-link.active {
  border-radius: 4px;
  background-color: #f5f5f5;
}
#toc .toc-item a,
#toc .toc-link a {
  color: #337ab7;
  padding-left: 10px;
  max-width: 100px;
  display: inline-block;
  vertical-align: middle;
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#toc .toc-item a:hover,
#toc .toc-link a:hover {
  color: #f03838;
}
#toc ol {
  margin: 0;
}
@media screen and (max-width: 1000px) {
  #toc {
    display: none;
  }
}
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */


/* Document
   ========================================================================== */


/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}


/* Sections
   ========================================================================== */


/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}


/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    /* font-size: 2em; */
    margin: 0.67em 0;
}


/* Grouping content
   ========================================================================== */


/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}


/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/* Text-level semantics
   ========================================================================== */


/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}


/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}


/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}


/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}


/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}


/* Embedded content
   ========================================================================== */


/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}


/* Forms
   ========================================================================== */


/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}


/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
    /* 1 */
    overflow: visible;
}


/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
    /* 1 */
    text-transform: none;
}


/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}


/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}


/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}


/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}


/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}


/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}


/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}


/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}


/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}


/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}


/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}


/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}


/* Interactive
   ========================================================================== */


/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}


/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}


/* Misc
   ========================================================================== */


/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}


/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

body {
    background: #e8f0ff;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0 none;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal;
}

strong {
    font-weight: 800;
}

ol,
ul,
li {
    list-style: none outside none;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-size: 100%; */
    /* font-weight: normal; */
}
